clean up (someone's) act

Translations
взяться за ум
He needs to clean up his act if he wants to keep his job.
Ему нужно взяться за ум, если он хочет сохранить свою работу.
Definitions
To improve one's behavior or performance, often by becoming more disciplined, responsible, or law-abiding; to stop engaging in problematic or inappropriate actions.